package com.sfzd5.exam.helplibrary;

import java.util.HashMap;
import java.util.Map;

public class PagedAndSortedResultRequestDto implements IGetAllInput {
    public String Sorting;
    public String SkipCount;
    public String MaxResultCount;

    public Map<String, String> createParames(){
        Map<String, String> parames = new HashMap<>();
        if(Sorting!=null) parames.put("Sorting" , Sorting);
        if(SkipCount!=null) parames.put("SkipCount" , SkipCount);
        if(MaxResultCount!=null) parames.put("MaxResultCount" , MaxResultCount);
        return parames;
    }
}
